package app.inmos.utils;

public class BaseUtils {
	
 private static BaseUtils baseUtils;
	 

     private BaseUtils(){
     }

     public static BaseUtils getInstance(){
              if(baseUtils == null){
            	  baseUtils = new BaseUtils();
              }
              return baseUtils;
     }
     
     public int getLongitudArray(String[] pArrayString){
    	 int cant=0;
    	 int ind=0;
    	 while ((ind<=pArrayString.length) &&(pArrayString[ind]!=null)){
    		 if(pArrayString[ind] !=null){
    			 cant ++ ;
    		 }
    		 ind++;
    		 
    	 }
    	 return cant;
     }

}
